package com.yyi.springcloud.dao;


import com.yyi.springcloud.entities.SensorInfoModel;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface SensorInfoMapper extends Mapper<SensorInfoModel> {
    /**
     * 1.根据primary查询传感器信息
     * @param primary
     * @return
     */
    public List<SensorInfoModel> getSensorInfoByCondition(String primary);
}
